package com.ddtech.business.course.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ClassName:CourseStudyRecordDetails description：
 * @author:wei_zhang(xiao)
 * @date: 2023-06-08 13:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("course_study_record_details")
@ApiModel(value="StudyRecordDetails对象", description="课程学习记录详情表，定位视屏")
public class CourseStudyRecordDetails extends BaseEntity {

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "主题图片")
    private String themeImage;

    @ApiModelProperty(value = "当前学习进度,定位功能")
    private Integer resourceDuration;

    @ApiModelProperty(value = "课程时长")
    private Integer duration;

    @ApiModelProperty(value = "是否完成0,未完成 1已完成")
    private Integer isFinish;

    @ApiModelProperty(value = "课程资源ID")
    private String courseResourceId;

    @ApiModelProperty(value = "课程资源名称")
    private String courseResourceName;

    @ApiModelProperty(value = "课程类型，0是普通课程，1是任务课程，2是培训课程")
    private Integer type;

    @ApiModelProperty(value = "任务Id")
    private String taskId;

}
